JMGetAppletDimensions
Returns the dimensions of an applet.
OSStatus JMGetAppletDimensions ( JMAppletLocatorRef locatorRef, UInt32 appletIndex, UInt32* width, UInt32* height);
locatorRef
- The applet locator that contains the retrieved HTML text.
appletIndex
- The index number of the applet you want to query.
width
- A pointer that, on return, contains the width, in pixels, of the applet.
height
- A pointer that, on return, contains the height, in pixels, of the applet.
- function result
- A result code; see "JManager Result Codes".
DISCUSSION
TheappletIndex
value is an index number from 0 toappletCount
-1, whereappletCount
is determined by theJMCountApplets
function. You can call this function only after successfully retrieving HTML text using theJMNewAppletLocator
function.SEE ALSO
"Finding Applets".